<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class ModifyCounterOffersEnquiries extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('offers', function(Blueprint $table) {
            $table->boolean('status')->comment('该条报盘的状态')->default(true);
        });

        Schema::table('counter_offers', function(Blueprint $table) {
            $table->boolean('status')->comment('该条报盘回复信息的状态')->default(true);
        });

        Schema::table('enquiries', function(Blueprint $table) {
            $table->boolean('status')->comment('该条询盘的状态')->default(true);
        });

        Schema::table('counter_enquiries', function(Blueprint $table) {
            $table->boolean('status')->comment('该条询盘回复信息的状态')->default(true);
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
